package com.zb.mapper;
import com.zb.entity.Score;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface ScoreMapper {

	public Score getScoreById(@Param(value = "id") Long id)throws Exception;

	public List<Score>	getScoreListByMap(Map<String,Object> param)throws Exception;

	public Integer getScoreCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertScore(Score score)throws Exception;

	public Integer updateScore(@Param("score") String score,@Param("userId") Long userId)throws Exception;

	public Integer deleteScoreById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteScore(Map<String,List<String>> params);

}
